package com.zcpt.service;

import java.util.List;

import com.zcpt.pojo.Sponsor;

public interface SponsorService {
	
	//根据id查找发起者信息
	Sponsor getSponsorById(int sponsorId);
	
	//根据id查找发起者和对应项目信息
	Sponsor getSponsorByIdWithProject(int sponsorId);
	
	//查询所有发起者信息
	List<Sponsor> getAllSponsor();
	
	//是否成功添加发起者信息
	boolean addSponsor(Sponsor sponsor);
	
	//是否成功修改发起者信息
	boolean alterSponsor(Sponsor sponsor);
}
